package com.yb.bussiness.goods;

import java.util.List;

import com.yb.domain.goods.TgBrand;
import com.yb.domain.goods.TpingGou;

public interface TpingGouService {
	/**
	 * 增加拼购攻略
	 */
   public boolean  addOrUpdate(TpingGou tp); 
   
   /**
    * 根据主键删除拼购信息
    * @param id
    */
   public void deleteById(Long id);
   
   public void delete(Long brandId, Long categoryId, Long typeId);
   
   public void modifyWeights(Long brandId, Long categoryId, Long typeId, int weights);
   
   public List<TgBrand> findPingouByCategoryId(Long categoryId);
   
   public boolean checkDel(String id, Long categoryId, Long typeId);
}
